#include <bits/stdc++.h>

using namespace std;
#define int long long
const int inf = 0x3f3f3f3f3f3f3f3f;

void solve()
{
    int n, k;
    cin >> n >> k;
    vector<int> a(n);
    for (int i = 0; i < n; i++) cin >> a[i];
    int x = a[k - 1];
    sort(a.begin(), a.end());
    a.resize(distance(a.begin(), unique(a.begin(), a.end())));
    int it = lower_bound(a.begin(), a.end(), x) - a.begin();
    it++;
    int l = 0;
    for (int i = it; i < a.size(); i++)
    {
        if (a[i] - a[i - 1] > a[i - 1] - l)
        {
            cout << "No" << '\n';
            return;
        }
        l += a[i] - a[i - 1];
    }
    cout << "Yes" << '\n';
}

signed main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
    int _ = 1;
    cin >> _;
    while (_--)
    {
        solve();
    }
    return 0;
}